from curl_cffi import requests
import json
import time
# time = int(time.time() * 1000)
#
# header = {
#     "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0",
#     "cookie": "ASP.NET_SessionId=wcfjnvxyd03bqm4f2l3cvpiy",
#     "Content-Type": "application/json;charset=UTF-8",
#     "origin": "https://ggzyfw.fj.gov.cn",
#     "referer": "https://ggzyfw.fj.gov.cn/index/newList/?type=12",
#     "portal-sign": "9753ac823b9594881d3500a2cfd9448a"  # 从网络请求中获取的签名
# }

# url = "https://ggzyfw.fj.gov.cn/FwPortalApi/Article/PageList"

#
# data = {
#     "pageNo": 1,
#     "pageSize": 10,
#     "type": "12",
#     "timeType": "0",
#     "ts": 1761816549516
# }
#
# response = requests.post(url, headers=header, json=data, impersonate="chrome110")

# print(response.status_code)
# print(response.text)


















header = {
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0",
    "cookie": "ASP.NET_SessionId=wcfjnvxyd03bqm4f2l3cvpiy",

    "referer": "https://ggzyfw.fj.gov.cn/index/newList/?type=12",
}





index_url = "https://ggzyfw.fj.gov.cn/index/newList/?type=12"
response = requests.get(index_url)



print(response.status_code)
print(response.text)